//导入axios包
import Vue from 'vue'
//导入instance对象
import instance from '../request/index'
//自定义插件
const Myaxios = {
  install: (Vue) => {
    //将http挂载到vue实例上
    Vue.prototype.$http = instance
  },
}
//注册插件
Vue.use(Myaxios)
